﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace ZeroSum.Domain.Entities;

public interface ICreated
{
    /// <summary>
    ///     创建时间
    /// </summary>
    [Description("创建时间")]
    public DateTimeOffset? CreatedTime { get; set; }

    /// <summary>
    ///     创建者Id
    /// </summary>
    [Description("创建者Id")]
    public long? CreatedUserId { get; set; }

    /// <summary>
    ///     创建者名称
    /// </summary>
    [Description("创建者名称")]
    [MaxLength(20)]
    public string? CreatedUserName { get; set; }
}